package com.chinasofti.collection;

public class MyInteger1 {
    public static void main(String[] args) {
        Integer i1 = new Integer(100);
        System.out.println(i1);

        // Integer i2 = new IntMyInteger1eger("abc");//NumberFormatException
        // System.out.println(i2);

        Integer i3 = Integer.valueOf(100);
        System.out.println("i3 = " + i3);

        Integer i4 = Integer.valueOf("100");
        System.out.println("i4 = " + i4);
    }
}
